local BillBoard = class("BillBoard")
local GameUtils = require("utils.GameUtils")

function BillBoard:ctor()
end

function BillBoard:start()
  self.cameraTransform = GameUtils.getMainCamera().transform
  local forward = self.cameraTransform.forward
  self.transform.forward = forward
end

function BillBoard:update()
  local forward = self.cameraTransform.forward
  self.transform.forward = forward
end

return BillBoard
